package com.woniu.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 *  角色
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value = "角色实体类")
public class Role implements Serializable {
    @ApiModelProperty(value = "角色ID")
    private Integer id;//角色ID int auto_increment primary key,
    @ApiModelProperty(value = "角色名")
    private String roleName;//角色名 varchar(20)  not null,
    @ApiModelProperty(value = "角色描述")
    private String describe;//角色描述 varchar(50)
}
